package by.apiskun.curex.dataaccess;

import java.util.Date;
import java.util.List;

import by.apiskun.curex.datamodel.Exchange;

public interface ExchangeDAO extends AbstractDAO<Long, Exchange> {

	Long getCount();

	List<Exchange> getAllExchanges();

	List<Exchange> getAllExchangesByUserLogin(String login);

	List<Exchange> getAllExchangesByDate(Date date);

	List<Exchange> getAllExchangesByDateRange(Date date1, Date date2);

	List<Exchange> getAllExchangesByMoneyName(String name);

}
